package com.atguigi;

import com.atguigu.commonutils.JwtUtil;
import com.atguigu.commonutils.MD5;
import org.junit.Test;
import sun.security.provider.MD2;

public class Jwtest {

	@Test
	
	public void GetToken(){
		String jwt = JwtUtil.createJWT("3340e4f94ec84d0ab7d9f8ae41f3a777");
		System.out.println(jwt);

		System.out.println(MD5.encrypt("123456"));
		System.out.println(MD5.encrypt("111111"));
	}
}
